/**
 * <p>Copyright: Copyright (c) 2014</p>
 * <p>Company: ---Technology Co. Ltd</p>
 * <p>2014-4-30</p>
 * @author Jan.Zhang
 */
package com.xianl.busiplat.service.impl;

import com.xianl.busiplat.po.Group;
import com.xianl.busiplat.service.GroupService;


/** 
 * desc:
 * <p>author: Jan.Zhang </p>
 * date: 2014-4-30
 */
public class GroupServiceImpl extends BaseServiceImpl<Group> implements GroupService{

	/* 
	 * desc:
	 * @see com.umpay.sc.plat.core.service.GroupService#get(int)
	 */
	@Override
	public Group get(int id) {
		Group group = new Group();
		group.setId(id);
		return mapper.selectOne(group);
	}

	/* 
	 * desc:
	 * @see com.umpay.sc.plat.core.service.GroupService#delete(int)
	 */
	@Override
	public void delete(int id) {
		Group group = new Group();
		group.setId(id);
		mapper.delete(group);
		
	}
	
}
